package org.dawn.deveco.plugin.resourceeditor.utils;

public class FileUtils {
    private static final Logger LOG = Logger.getInstance(FileUtils.class);

    public static String convertToOsPath(String path)
    {
        String osName = System.getProperty("os.name").toLowerCase();
        if (osName.contains("windows")) {
            return path.replace("/", "\\");
        } else {
            return path.replace("\\", "/");
        }
    }
}
